package com.april.pattern.behavioral.visitor;

/**
 * @author April
 * @version V1.0.0
 * @date 2019/07/09 17:11
 * @description
 */
public class CodingCourse extends Course {
    private int price;

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    @Override
    public void accept(Visitor visitor) {
        visitor.visit(this);
    }
}
